<?php

namespace App\Models\Order;

use App\Models\BaseModel;

/**
 * App\Models\Order\OrderSnapshot
 *
 * @property int $id
 * @property int $user_id 用户ID
 * @property string $out_trade_no 订单号
 * @property string $total_price 订单金额
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @property-read \Illuminate\Notifications\DatabaseNotificationCollection|\Illuminate\Notifications\DatabaseNotification[] $notifications
 * @property-read int|null $notifications_count
 * @method static \Illuminate\Database\Eloquent\Builder|OrderSnapshot newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|OrderSnapshot newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|OrderSnapshot query()
 * @method static \Illuminate\Database\Eloquent\Builder|OrderSnapshot whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|OrderSnapshot whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|OrderSnapshot whereOutTradeNo($value)
 * @method static \Illuminate\Database\Eloquent\Builder|OrderSnapshot whereTotalPrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|OrderSnapshot whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|OrderSnapshot whereUserId($value)
 * @mixin \Eloquent
 */
class OrderSnapshot extends BaseModel {

	protected $table = 'order_snapshot';
	protected $primaryKey = 'id';
	public $timestamps = true;
	protected $fillable = [
		'user_id',
		'out_trade_no',
		'total_price',
	];

}
